<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('api/wanlshop.pay/addPayAccount')}">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">选择银行:</label>
        <div class="col-xs-12 col-sm-8">
            {$bankList}
        </div>
    </div>
    <input id="c-bankName" class="form-control" name="bankName" type="hidden" value="支付宝账户">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">银行卡号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cardCode" class="form-control" data-rule="required" name="cardCode" placeholder="请填写银行卡号/微信支付宝账号" type="text">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">持卡姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" class="form-control" data-rule="required" name="username" placeholder="持账户人姓名" type="text">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">手机号码:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" class="form-control" data-rule="required;mobile" name="mobile" placeholder="持账户人姓名" type="text">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
